﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200097F RID: 2431
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class InterruptMissionEventCsReq : IMessage<InterruptMissionEventCsReq>, IMessage, IEquatable<InterruptMissionEventCsReq>, IDeepCloneable<InterruptMissionEventCsReq>, IBufferMessage
	{
		// Token: 0x17001ECD RID: 7885
		// (get) Token: 0x06006D23 RID: 27939 RVA: 0x00124B00 File Offset: 0x00122D00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<InterruptMissionEventCsReq> Parser
		{
			get
			{
				return InterruptMissionEventCsReq._parser;
			}
		}

		// Token: 0x17001ECE RID: 7886
		// (get) Token: 0x06006D24 RID: 27940 RVA: 0x00124B07 File Offset: 0x00122D07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return InterruptMissionEventCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001ECF RID: 7887
		// (get) Token: 0x06006D25 RID: 27941 RVA: 0x00124B19 File Offset: 0x00122D19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return InterruptMissionEventCsReq.Descriptor;
			}
		}

		// Token: 0x06006D26 RID: 27942 RVA: 0x00124B20 File Offset: 0x00122D20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InterruptMissionEventCsReq()
		{
		}

		// Token: 0x06006D27 RID: 27943 RVA: 0x00124B28 File Offset: 0x00122D28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InterruptMissionEventCsReq(InterruptMissionEventCsReq other) : this()
		{
			this.missionEventId_ = other.missionEventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006D28 RID: 27944 RVA: 0x00124B4D File Offset: 0x00122D4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InterruptMissionEventCsReq Clone()
		{
			return new InterruptMissionEventCsReq(this);
		}

		// Token: 0x17001ED0 RID: 7888
		// (get) Token: 0x06006D29 RID: 27945 RVA: 0x00124B55 File Offset: 0x00122D55
		// (set) Token: 0x06006D2A RID: 27946 RVA: 0x00124B5D File Offset: 0x00122D5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MissionEventId
		{
			get
			{
				return this.missionEventId_;
			}
			set
			{
				this.missionEventId_ = value;
			}
		}

		// Token: 0x06006D2B RID: 27947 RVA: 0x00124B66 File Offset: 0x00122D66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as InterruptMissionEventCsReq);
		}

		// Token: 0x06006D2C RID: 27948 RVA: 0x00124B74 File Offset: 0x00122D74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(InterruptMissionEventCsReq other)
		{
			return other != null && (other == this || (this.MissionEventId == other.MissionEventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006D2D RID: 27949 RVA: 0x00124BA4 File Offset: 0x00122DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MissionEventId != 0U)
			{
				num ^= this.MissionEventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006D2E RID: 27950 RVA: 0x00124BE3 File Offset: 0x00122DE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006D2F RID: 27951 RVA: 0x00124BEB File Offset: 0x00122DEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006D30 RID: 27952 RVA: 0x00124BF4 File Offset: 0x00122DF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MissionEventId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.MissionEventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006D31 RID: 27953 RVA: 0x00124C28 File Offset: 0x00122E28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MissionEventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MissionEventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006D32 RID: 27954 RVA: 0x00124C66 File Offset: 0x00122E66
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(InterruptMissionEventCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MissionEventId != 0U)
			{
				this.MissionEventId = other.MissionEventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006D33 RID: 27955 RVA: 0x00124C97 File Offset: 0x00122E97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006D34 RID: 27956 RVA: 0x00124CA0 File Offset: 0x00122EA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MissionEventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002999 RID: 10649
		private static readonly MessageParser<InterruptMissionEventCsReq> _parser = new MessageParser<InterruptMissionEventCsReq>(() => new InterruptMissionEventCsReq());

		// Token: 0x0400299A RID: 10650
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400299B RID: 10651
		public const int MissionEventIdFieldNumber = 11;

		// Token: 0x0400299C RID: 10652
		private uint missionEventId_;
	}
}
